#include "compi/compi.h"
#include "compi/p2p.h"

#include <gtest/gtest.h>

using namespace compi;

TEST(ErrorPaths, TransportRequestNullImplThrows)
{
    Environment env;
    env.set_failure_policy(FailurePolicy::ThrowException);

    TransportRequest req; // 默认构造，无 impl
    EXPECT_NO_THROW({ (void)req.wait(); });
}
